<?php /* Smarty version 2.6.25, created on 2011-07-08 08:17:42
         compiled from step.htm */ ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/inc/cart_step1.css">
<script type="text/javascript" src="<?php echo $this->_tpl_vars['_BASEURL']; ?>
script/fun.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['_BASEURL']; ?>
script/transport.js"></script>
<script language="javascript">
var baseurl = "<?php echo $this->_tpl_vars['_BASEURL']; ?>
";
</script>
<div class="title-nav" >
			
	<div class="title-nav" >
	<ul style="padding:0;">
		<li style="width:140px;background-color:#fff8e7; border-right:#ff9041 1px solid;border-top:#ff9041 2px solid;">餐馆名称</li>
		<li style="width:140px;background-color:#fff8e7; border-right:#ff9041 1px solid;border-top:#ff9041 2px solid;">菜名</li>
		<li style="width:70px;	background-color:#fff8e7; border-right:#ff9041 1px solid;border-top:#ff9041 2px solid;">价格(元)</li>
		<li style="width:60px; border-right:#ff9041 1px solid;border-top:#ff9041 2px solid;background-color:#fff8e7;">数量</li>
		<li style="width:60px;background-color:#fff8e7; border-right:#ff9041 1px solid;border-top:#ff9041 2px solid;">小计</li>
		<li style="width:214px;border-top:#ff9041 2px solid;background-color:#fff8e7; ">工具</li>
	</ul>
 <?php $_from = $this->_tpl_vars['carts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?>
<br class="clear-f" />
<ul class="cart_content">
			<li class="w1"><?php echo $this->_tpl_vars['c']['eatname']; ?>
</li>
		<li class="w2"><?php echo $this->_tpl_vars['c']['foodname']; ?>
</li>
		<li class="w3"><?php echo $this->_tpl_vars['c']['price']; ?>
</li>
		<li class="w4"><?php echo $this->_tpl_vars['c']['num']; ?>
</li>
		<li class="w5"><?php echo $this->_tpl_vars['c']['totalprice']; ?>
</li>
		<li class="w6"><a href="javascript:" style="color:#f66200;" onclick="docart(<?php echo $this->_tpl_vars['c']['foodid']; ?>
,1,'add','cart');return false;">增加</a>&nbsp;|&nbsp;<a href="javascript:" style="color:#f66200;" onclick="docart(<?php echo $this->_tpl_vars['c']['foodid']; ?>
,1,'del','cart');return false;">减少</a>&nbsp;|&nbsp;<a href="javascript:" style="color:#f66200;" onclick="docart(<?php echo $this->_tpl_vars['c']['foodid']; ?>
,0,'del','cart');return false;">移除</a></li>
 
	</ul>
     <?php endforeach; endif; unset($_from); ?>
    <br class="clear-f" /><ul class="cart_content_bottom" style="padding:0">
					<li class="w1">你的餐车中有 <strong style="color:#ff9041;"><?php echo $this->_tpl_vars['totalnum']; ?>
</strong>  份餐</li>
					<li class="w2">总价：￥ <strong style="color:#ff9041;"><?php echo $this->_tpl_vars['totalprice']; ?>
</strong>元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:" onclick="docart(0,0,'clear','cart');return false;"><strong style="color:#ff9041;">清除我的购物车</strong></a></li>
				</ul>
				<br class="clear-f" />
				<div style="padding:15px; text-align:center">
                
                <a href="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/finish/" ><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/sure_order.jpg" /></a>
                </div><input name="food_num" id="food_num" type="hidden" value="1|49" /></div>


